package com.liujg.future.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document("hot")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Hot {

    @Id
    private String id;

    private String alt;

    private List<String> pictures;

    private String target;

    private String title;

    private String type;
}
